﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models
{
    /// <summary>
    /// 立项审核表
    /// </summary>
    [Table("Setupaproject")]
    public class Setupaproject: AuditFiled<int>
    {
        [Display(Name = "审核意见")]
        [Column(TypeName = "Nvarchar(40)")]
        [Editable(true)]
        /// <summary>
        /// 审核意见
        /// </summary>
        public string? Opinion { get; set; }
        [Display(Name = "审核理由")]
        [Column(TypeName = "Nvarchar(40)")]
        [Editable(true)]
        /// <summary>
        /// 审核理由
        /// </summary>
        public string? Reasons { get; set; }
        /// <summary>
        ///附件名称
        /// </summary>
        [Display(Name = "附件名称")]
        [MaxLength(255)]
        [Column(TypeName = "nvarchar(255)")]
        [Editable(true)]
        public string? FileName { get; set; }

        /// <summary>
        ///附件路径
        /// </summary>
        [Display(Name = "附件路径")]
        [MaxLength(255)]
        [Column(TypeName = "nvarchar(255)")]
        [Editable(true)]
        public string? FilePath { get; set; }
        [Display(Name = "客户表Id")]
        [Editable(true)]
        /// <summary>
        /// 客户表Id
        /// </summary>
        public int CustomerId { get; set; }
        [Display(Name = "起租审核表Id")]
        [Editable(true)]
        /// <summary>
        /// 起租审核表Id
        /// </summary>
        public int MinimumId { get; set; }
    }
}
